﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using CPPProject.CppModel;
using System;
using System.ComponentModel.DataAnnotations;

namespace CPPProject.CppServices.Dto
{
    [AutoMapTo(typeof(T_Biz_Customer))]
    public class UpdateT_Biz_CustomerDto : EntityDto<Guid>
    {
        /// <summary>
        /// 公司ID
        /// </summary>
        [MaxLength(100)]
        public string NCompanyID { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>
        [MaxLength(100)]
        public string CCusCode { get; set; }
        /// <summary>
        /// 客户ID
        /// </summary>
        [MaxLength(100)]
        public string NCustomerID { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        [MaxLength(300)]
        public string CName { get; set; }
        /// <summary>
        /// 客户地址
        /// </summary>
        [MaxLength(300)]
        public string CAddress { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        [MaxLength(300)]
        public string CContact { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        [MaxLength(300)]
        public string CPhone { get; set; }
        /// <summary>
        /// 单选框是否选中状态
        /// </summary>
        public bool NPrimary { get; set; }
        /// <summary>
        /// 联系人1
        /// </summary>
        [MaxLength(300)]
        public string CContact1 { get; set; }
        /// <summary>
        /// 联系方式1
        /// </summary>
        [MaxLength(300)]
        public string CPhone1 { get; set; }
        /// <summary>
        /// 单选框是否选中状态
        /// </summary>
        public bool NPrimary1 { get; set; }
        /// <summary>
        /// 联系人2
        /// </summary>
        [MaxLength(300)]
        public string CContact2 { get; set; }
        /// <summary>
        /// 联系方式2
        /// </summary>
        [MaxLength(300)]
        public string CPhone2 { get; set; }
        /// <summary>
        /// 单选框是否选中状态2
        /// </summary>
        public bool NPrimary2 { get; set; }
        /// <summary>
        /// 联系人3
        /// </summary>
        [MaxLength(300)]
        public string NContact3 { get; set; }
        /// <summary>
        /// 联系方式3
        /// </summary>
        [MaxLength(300)]
        public string NPhone3 { get; set; }
        /// <summary>
        /// 单选框是否选中状态3
        /// </summary>
        public bool NPrimary3 { get; set; }
        /// <summary>
        /// 联系人4
        /// </summary>
        [MaxLength(300)]
        public string CContact4 { get; set; }
        /// <summary>
        /// 联系方式4
        /// </summary>
        [MaxLength(300)]
        public string CPhone4 { get; set; }
        /// <summary>
        /// 单选框是否选中状态4
        /// </summary>
        public bool NPrimary4 { get; set; }
        /// <summary>
        /// 是否启用（1是0否）
        /// </summary>
        public bool IUse { get; set; }
        /// <summary>
        /// Email地址
        /// </summary>
        [MaxLength(300)]
        public string EMailAddress { get; set; }
        /// <summary>
        /// 集团
        /// </summary>
        [MaxLength(300)]
        public string CGroup { get; set; }
        /// <summary>
        /// 销售人员
        /// </summary>
        [MaxLength(300)]
        public string NSaleID { get; set; }
        /// <summary>
        /// 税号
        /// </summary>
        [MaxLength(300)]
        public string CTaxNumber { get; set; }
        /// <summary>
        /// 开户行
        /// </summary>
        [MaxLength(300)]
        public string COpeningBank { get; set; }
        /// <summary>
        /// 开户账号
        /// </summary>
        [MaxLength(300)]
        public string COpeningAccount { get; set; }
    }
}
